<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class AgentSafeCenter
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $agent_id
 * @property bool $id_card
 * @property bool $withdraw_password
 * @property bool $mobile
 * @property bool $email
 * @property bool $google_auth
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class AgentSafeCenter extends Eloquent
{
	protected $table = 'agent_safe_center';

	protected $casts = [
		'hall_id' => 'int',
		'agent_id' => 'int',
		'id_card' => 'bool',
		'withdraw_password' => 'bool',
		'mobile' => 'bool',
		'email' => 'bool',
		'google_auth' => 'bool'
	];

	protected $hidden = [
		'withdraw_password'
	];

	protected $fillable = [
		'hall_id',
		'agent_id',
		'id_card',
		'withdraw_password',
		'mobile',
		'email',
		'google_auth'
	];
}
